<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Goods extends Model
{
    protected $guarded = [];


    //获取商品所属栏目
    public function beCat()
    {
        return $this->belongsTo('App\Model\Category', 'categories_id', 'id');
    }

}
